public class Test_work06 {
	
	public static void main(String[] args) {
		
			// s = 80
			// a = false, y = 1
			// b = false, z = 0
			// a = false, y = 2
			// b = false, z = 1
        short s = 30;
        int i = 50;
        s += i;  
        System.out.println("s="+s);  
        
        int x = 0;
        int y = 0;
        int z = 0;
        boolean a,b;
        a = x>0 & y++>1;
        System.out.println("a="+a);  
        System.out.println("y="+y);  
        
        b = x>0 && z++>1;
        System.out.println("b="+b);  
        System.out.println("z="+z);  
        
        a = x>0 | y++>1;
        System.out.println("a="+a);  
        System.out.println("y="+y);  

        b = x>0 || z++>1;
        System.out.println("b="+b);  
        System.out.println("z="+z);  	
	}
}